//    Copyright (C) Kherty.  All rights reserved.
using OpenLS.Drawing;

namespace OpenLS.Chart.UI
{
    abstract class DarkFillPattern: FillPattern
    {
        public override ColorBase GetColor(int dataPointIndex)
        {
            return new ThemeColor(SchemeColorValue.Dark1, GetTint(dataPointIndex % 6));
        }
        protected abstract double GetTint(int dataPointIndex);

    }
}
